<?php /* Smarty version 2.6.18, created on 2009-03-07 03:32:05
         compiled from webcontrols/userstatus.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'webcontrols/userstatus.html', 8, false),)), $this); ?>
<style type="text/css">
#topUserstatus{
    text-align:right;
}
</style>
<div id="topUserstatus">
    <?php if ($this->_tpl_vars['output']): ?>
    <span><?php echo $this->_tpl_vars['output']; ?>
</span>|<span><a href="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'login','action' => 'logout'), $this);?>
">退出</a></span>
    <?php else: ?>
    <span><a href="#">注册</a></span>|<span><a href="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'login','action' => 'index'), $this);?>
">登录</a></span>
    <?php endif; ?>
</div>